package site.zhangzhuo.learn_springboot.profileConditional;

public class Library2 {
    private final LibraryOpeningHours openingHours;

    public Library2(LibraryOpeningHours openingHours) {
        this.openingHours = openingHours;
    }

    public void displayOpeningHours() {
        System.out.println("Library opening hours: " + openingHours);
    }
}